<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link href="/resource/css/admin/main.css" type="text/css" rel="stylesheet" />
    <link href="/resource/css/admin/welcome.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="/resource/js/jquery.js"></script>
    <script type="text/javascript" src="/resource/js/base.js"></script>
    <script type="text/javascript" src="/resource/js/admin/welcome.js"></script>
</head>
<body>
<div class="position"><span>您的当前位置：</span>主页</div>
<div class="rightbody f">
    <div class="rightbodycontent">
        <div class="welinfo">
            <img src="/resource/image/admin/main/right/welcome/user.png"/>
            当前用户：${admin.account}
        </div>
        <div class="welinfo">
            <img src="/resource/image/admin/main/right/welcome/department.png"/>
            所在部门：${admin.department.name}
        </div>
        <div class="welinfo">
            <img src="/resource/image/admin/main/right/welcome/permission.png"/>
            担任角色：
            <#if admin.account == "admin">超级管理员
            <#else><#list admin.adminReAdminRoles as arar>${arar.adminRole.name} </#list>
    </#if>
</div>
</div>
<hr class="solidstyle" />
<div class="rightbodycontent">
    <ul class="shortcut">
        <#if checkPermission(admin,'office_article_manage')><li><a href="./article/edit"><img src="/resource/image/admin/main/right/welcome/shortcut/articlecreate.png" /><br />新建文档</a></li></#if>
    <#if checkPermission(admin,'office_article_manage')><li><a href="./article/"><img src="/resource/image/admin/main/right/welcome/shortcut/articlemanage.png" /><br />文档管理</a></li></#if>
<#if checkPermission(admin,'office_create_all')><li><a href="./createpage/" onclick="return confirm('该操作可能会消耗大量时间，确定生成全部静态HTML吗？')"><img src="/resource/image/admin/main/right/welcome/shortcut/createpage.png" /><br />静态生成</a></li></#if>
<#if checkPermission(admin,'office_articlestat_byadmin')><li><a href="./articlestat/byadmin"><img src="/resource/image/admin/main/right/welcome/shortcut/statistics.png" /><br />绩效统计</a></li></#if>
<#if checkPermission(admin,'yunwei_organ_user')><li><a href="./admin/"><img src="/resource/image/admin/main/right/welcome/shortcut/user.png" /><br />用户管理</a></li></#if>
<#if checkPermission(admin,'yunwei_webmaintain_colums')><li><a href="./columns/"><img src="/resource/image/admin/main/right/welcome/shortcut/columns.png" /><br />栏目管理</a></li></#if>
<#if checkPermission(admin,'yunwei_webmaintain_template')><li><a href="./template/"><img src="/resource/image/admin/main/right/welcome/shortcut/template.png" /><br />模板定制</a></li></#if>
<#if checkPermission(admin,'yunwei_webmaintain_template')><li><a href="./visitpv/"><img src="/resource/image/admin/main/right/welcome/shortcut/visitpv.png" /><br />访问量统计</a></li></#if>
</ul>
</div>
<hr class="solidstyle" />
<div class="rightbodycontent">
    <div class="welinfo">
        <img src="/resource/image/admin/main/right/welcome/version.png"/>
        软件版本：V1.0
    </div>
    <div class="welinfo">
        <img src="/resource/image/admin/main/right/welcome/technology.png"/>
        开发技术：JavaEE + MySQL
    </div>
    <div class="welinfo">
        <img src="/resource/image/admin/main/right/welcome/server.png"/>
        服务器信息：${systemInfo}
    </div>
    <div class="warning">
        <b>特别提示：</b>
        您的浏览器为IE内核且版本过低，为了让您的体验达到最佳效果，建议您升级或者更换浏览器。<br />
        <b>解决办法：</b>1、您可以使用IE10或者以上版本IE浏览器；<br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2、您可以使用360浏览器，推荐使用“极速模式”；<br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3、您可以使用谷歌、火狐、Sarari等浏览器；<br />
        <b>相关下载：</b>
        <a href="/files/360se8.1.exe">点击下载360浏览器</a>，您也可以自行到360官网下载，其它浏览器请自行百度下载。
    </div>
</div>
<hr class="solidstyle" />
<div class="rightbodycontent">
    <div class="welinfo">
        <img src="/resource/image/admin/main/right/welcome/support.png" />
        技术支持：成都坤之云科技有限公司
    </div>
</div>
</div>
<#if waitecheckArticleCount gt 0 || orgpushArticleCount gt 0 || waitecheckLmgCount gt 0 || notices?size gt 0>
<div class="notice">
    <div class="head">
        <a onclick="closenotice()"><img src="/resource/image/admin/main/right/ico/delete.png" /></a>
    </div>
    <div class="content">
        <#if waitecheckArticleCount gt 0>
        您有<span style="color:red">${waitecheckArticleCount}</span>篇待审核处理的文档 → <a href="articlecheck/" class="do" onclick="dataloading()">查看并处理</a><br />
    </#if>
    <#if orgpushArticleCount gt 0>
    您有<span style="color:red">${orgpushArticleCount}</span>篇待处理的推送文档 → <a href="articlereceive/" class="do" onclick="dataloading()">查看并处理</a><br />
</#if>
<#if waitecheckFormCount gt 0>
您有待处理的表单 → <a href="formdata/?formid=${waitecheckFormId}" class="do" onclick="dataloading()">查看并处理</a><br />
</#if>
<#if waitecheckLmgCount gt 0>
您有待处理的留言 → <a href="leavemessage/index/0" class="do" onclick="dataloading()">查看并处理</a><br />
</#if>
<#list notices as notice>
${notice.message} → <a href="notice/process?noticeid=${notice.id}" class="do">查看</a><br />
</#list>
</div>
</div>
</#if>
</body>
</html>